package com.example.k8s.hello.bean.sys.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 用户与角色对应关系
 *
 * @author Mark sunlightcs@gmail.com
 */
@Data
@Accessors(chain = true)
@TableName("sys_user_role")
@Schema(description = "用户与角色对应关系")
public class SysUserRoleEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@TableId
	private Long id;

	@Schema(description = "用户ID")
	private Long userId;

	@Schema(description = "角色ID")
	private Long roleId;

	
}
